﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FILSTARTUPS_MOBILE.Models
{
    public class Profile
    {
        [Key]
        public int profileidPK { get; set; }

        [Display(Name="Firstname")]
        public string firstname { get; set; }
        
        [Display(Name="Lastname")]
        public string lastname { get; set; }

        [Display(Name="Middlename")]
        public string middlename { get; set; }

        [Display(Name="Birthdate")]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        [DataType(DataType.Date)]
        public DateTime birthdate { get; set; }
        
        [Display(Name="Gender")]
        public string gender { get; set; }

        [Display(Name="Phone Number")]
        public string phonenumber { get; set; }

        [Display(Name="Citizenship")]
        public string citizenship { get; set; }

        public string activitiesAndinterest { get; set; }
       
        [Column]
        public byte[] image { get; set; }
        
        [Column]
        public string imagetype { get; set; }

        [Column]
        public string filename {get;set;}

        public int memberidFK { get; set; }

        // Tentative
        //public byte profilepic { get; set; }
        //public string profilepictype { get; set; }
        //public string facebookprofilelink { get; set; }
        //public string twitterprofilelink { get; set; }
       /* private string m_name;
        public string pagename
        {
            set { m_name = value; }
        }*/
    }
}